//
//  QueryFlightViewController.h
//  AirTicket
//
//  Created by imac.bmw on 10-12-21.
//  Copyright 2010 aircococ. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "CityListViewController.h"
#import "TdCalendarView.h"
#import "FlightDateViewController.h"
#import "AirwaysViewController.h"
#import "QueryFlight.h"
#import "QueryResults.h"
#import "ShowTicketsViewController.h"

@interface QueryFlightViewController : UIViewController<UITableViewDelegate,UITableViewDataSource,
CityListViewControllerDelegate,FlightDateViewControllerDelegate,AirwaysViewControllerDelegate,QueryFlightDelegate> {

	CityListViewController *cityController;
	UITableView *table;
	UISegmentedControl *flightKind;
	UIButton *queryButton;
	NSMutableDictionary *flightInfo;
	QueryFlight *queryAction;
	ShowTicketsViewController *showTicket;
	UILabel *waiting; //查询等待的提示标签
	UIView *waitingView; //查询等待状态的背景
	UIActivityIndicatorView *activity;//等待的转轮
	NSString *org;
	NSString *dest;
	NSString *date;
	NSString *airwayCode;

}
@property (nonatomic,retain)NSString *airwayCode;
@property (nonatomic,retain)UIActivityIndicatorView *activity;
@property (nonatomic,retain)NSString *org;
@property (nonatomic,retain)NSString *dest;
@property (nonatomic,retain)NSString *date;
@property (nonatomic, retain)UILabel *waiting;
@property (nonatomic, retain)UIView *waitingView;
@property (nonatomic, retain)ShowTicketsViewController *showTicket;
@property (nonatomic, retain)QueryFlight *queryAction;
@property (nonatomic, retain)NSMutableDictionary *flightInfo;
@property (nonatomic, retain)CityListViewController *cityController;
@property (nonatomic, retain)UITableView *table;

-(void)addWaitingView ;
@end
